﻿<UserControl
	x:Class="DeltaEngine.Editor.EditorPluginEntryView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:helpers="clr-namespace:DeltaEngine.Editor.Helpers"
	mc:Ignorable="d" Width="200" Height="56"
	d:DataContext="{d:DesignInstance Type=helpers:DesignEditorPlugin, IsDesignTimeCreatable=True}">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="44px" />
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>
		<Image Height="32" VerticalAlignment="Top" Margin="4,12,8,0"
			Source="{Binding Path=Icon}" />
		<TextBlock
			Grid.Column="1" FontSize="14" Margin="0,3,-50,-3" Padding="4,16,0,0"
			HorizontalAlignment="Left" VerticalAlignment="Center" Width="206" Height="56"
			Text="{Binding Path=ShortName}" FontFamily="Arial" Foreground="DarkGray" FontWeight="Bold">
			<TextBlock.Style>
				<Style TargetType="TextBlock">
					<Setter Property="Foreground" Value="DarkGray" />
					<Style.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter Property="Foreground" Value="Black" />
						</Trigger>
					</Style.Triggers>
				</Style>
			</TextBlock.Style>
		</TextBlock>
	</Grid>
</UserControl>